package com.person.jiaiplan.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "expenses_count_logs")
public class ExpensesCountLogs {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 计划Id
     */
    @TableField(value = "plan_id")
    private Long planId;

    /**
     * 消费类型 1.每日，2.计划，3.分期，4.奖励 5.会员 6. 冲动消费
     */
    @TableField(value = "expenses_type")
    private Integer expensesType;

    /**
     * 计划开始时间
     */
    @TableField(value = "plan_start_time")
    private Date planStartTime;

    /**
     * 计划结束时间
     */
    @TableField(value = "plan_end_time")
    private Date planEndTime;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 预计金额
     */
    @TableField(value = "estimated_amount")
    private BigDecimal estimatedAmount;

    /**
     * 实际金额
     */
    @TableField(value = "real_amount")
    private BigDecimal realAmount;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 完结时间
     */
    @TableField(value = "finish_time")
    private Date finishTime;
}